import request from '@/views/request.js'

//登录验证
export function loginout(params) {
    return request({
        url: '/api/private/v1/login',
        method: 'post',
        params
    })
}

//登录后获取所有菜单
export function menulist(params) {
    return request({
        url: '/api/private/v1/menus',
        method: 'get',
        params
    })
}